#!/bin/sh

if [ $os = "debian" ]
then
        apt-get update
        apt-mark hold grub-efi-arm64 grub-efi-arm64-bin grub-efi-arm64-signed
        apt-get upgrade -y -m -f
        apt-mark unhold grub-efi-arm64 grub-efi-arm64-bin grub-efi-arm64-signed
elif [ $os = "openeuler" ] -o [ $os = "centos" ]
then
        yum -y update
fi
